#!/bin/bash

echo -n '' > log.out;
i=0;while [ ${i} -lt $1 ]; do ./cli_netproto 2>&1 >> log.out & let i++; echo ${i}; done;
